﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>GroupAdminInfoView</title>
</head>
<body>
<form id="formx" name="formx" method="post" enctype="multipart/form-data">
<div class="easyui-layout" data-options="fit:true,">
    <div data-options="region:'north',split:false," style="height: 34px; overflow: hidden;">
        <div style="float: left;">
            <a id="btnRefresh" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-refresh',plain:true,">刷新</a>
            <a id="btnHelp" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-help',plain:true,">帮助</a>
            <a id="btnClose" href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-no',plain:true,">关闭</a>
        </div>
        <div style="float: right; padding: 2px 1px 0px 2px;">
            <input class="easyui-searchbox" data-options="prompt:'关键字'" style="width: 150px" />
        </div>
    </div>
    <div data-options="region:'center',split:true," style="padding: 1px; overflow: hidden;">
        <div class="easyui-layout" data-options="fit:true,">
            <div data-options="region:'north',split:false," style="height: 100px; padding: 1px; overflow: hidden;">
                <div style="margin: 1px 0px 1px 0px; text-align: center;">
                    <div id="Title" style="width: 100%; height: 60px; line-height: 60px; text-align: center; margin: auto 0; color: #0094ff; font-size: 28px; font-weight: bold; padding: 0px 6px 0px 6px; border-bottom: 1px solid #cccccc; overflow: auto;"></div>
                    <div>创建时间：<label id="DateTimeCreate" style="width: 100%; height: 32px; line-height: 32px; color: #cccccc; padding: 0px 6px 0px 6px;"></label></div>
                </div>
            </div>
            <div data-options="region:'center',split:true," style="padding: 12px; overflow-x: hidden; overflow-y: scroll; background: #c0c0c0;">
                <div id="Content" style="width: 720px; font-size: 12px; background: #ffffff; margin: 0 auto; padding: 120px 72px 120px 72px;"></div>
            </div>
        </div>
    </div>
</div>
</form>
<script type="text/javascript">
    $(function () {
        window.xbase.logonNo(); // 访问本页面，如已登录则跳转到index.html。
        window.xbase.closeDialog('#btnClose', '#dialog1');
        window.xbase.openDialog('#btnHelp', '#dialog2');
        var action = $('#Action').val();
        var datas = "id=" + $('#datagrid1').datagrid('getSelected').PkId + "&action=" + action + '&url=' + window.location.pathname + '&rnd=' + Math.random();
        $.ajax({
            url: '/Ashx/Acc/Staff/GroupAdminInfoView.ashx?' + datas,
            data: datas,
            method: 'POST',
            success: function (result) {
                if (result != null && result != '') {
                    var json = window.xbase.json(result);
                    $('#Title').html(json.Title);
                    $('#Content').html(json.Content);
                    $('#DateTimeCreate').html(window.xbase.FormatDateTime(json.DateTimeCreate));
                }
            },
        });
    });
</script>
</body>
</html>
